package com.wolfman.uploadfile.controller;

import com.wolfman.uploadfile.po.FileUpload;
import com.wolfman.uploadfile.service.FileUploadService;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;

import javax.annotation.Resource;
import java.util.List;

/**
 * @Title
 * @Description
 * @Author WolfMan
 * @Date 2021/8/23 13:58
 * @Email 2370032534@qq.com
 */
@Controller
public class TemplateFileController {

    @Resource
    FileUploadService fileUploadService;

    @GetMapping("/")
    public String index() {
        return "index";
    }

    @GetMapping("/upload")
    public String upload() {
        return "upload";
    }

    @GetMapping("/download")
    public String download() {
        return "download";
    }

}
